package com.chb.builder;

/**
 * @author chihb
 * @create-time 2024/10/23 9:48
 * @description
 */
public class Gallop implements Builder{
    private Car car = new Car();
    @Override
    public void buildWheel() {
        car.setWheel("Gallop Wheel");
    }

    @Override
    public void buildEngine() {
        car.setEngine("Gallop Engine");
    }

    @Override
    public void buildWindow() {
        car.setWindow("Gallop Window");
    }

    @Override
    public Car CreateCar() {
        return car;
    }
}
